PWB prompting with Windows Security Prompt

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

PWB prompting with Windows Security Prompt

Post by Rockhard »

I currently am running PWB 3.05 CEF, and we have a page that comes up that displays multiple shortcuts to applications that can be launched from here.

However before the shortcut is launched the user gets a Windows Security window popup. Saying "You should only run the files that come from websites that you trust. X:\PWB"

How can I allow these links to be trusted so the user doesn't get this prompt every time before they launch the application?

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB prompting with Windows Security Prompt

Post by Scott »

Please post a screen shot of what you are seeing.

--Scott

Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

Re: PWB prompting with Windows Security Prompt

Post by Rockhard »

I have attached the PNG file with the screen shot.
Attachments
SecurityWarningPWB.PNG
SecurityWarningPWB.PNG (135.61 KiB) Viewed 13590 times

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB prompting with Windows Security Prompt

Post by Scott »

It looks like you have a PWB Internet Explorer tab open.

You need to add the URL to a zone and then lower the security for the zone to "Low".
zone.png
zone.png (25.58 KiB) Viewed 13589 times
1. From the Control Panel open Internet Options.
2. On the Security tab, click Trusted Sites icon to select it.
3. Click Sites button.
4. In the Add this website to the zone: text box type "file://X:/PWB/Applications".
5. Uncheck "Require server verification (https:) for all sites in this zone.
6. Click Add.
7. Click Close, OK.

- or -

1. From the Control Panel open Internet Options.
2. On the Security tab, click Local Intranet icon to select it.
3. Click Sites.
4. Click Advanced.
5. In the Add this website to the zone: text box type "file://X:/PWB/Applications".
6. Click Add.
7. Click Close, OK.

Reference:
https://sway.com/1fXhruePaDdzYp8r

--Scott

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB prompting with Windows Security Prompt

Post by Scott »

PWB Chrome windows opened to local folder.
cef.png
cef.png (32.24 KiB) Viewed 13589 times
PWB Internet Explorer window opened to local folder.
ie.png
ie.png (27 KiB) Viewed 13589 times
--Scott

Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

Re: PWB prompting with Windows Security Prompt

Post by Rockhard »

How do I add the location?

X:\PWB\APPLICATIONS

I have tried but it will not allow me under the trusted sites.

Please note, the X Drive on our server is actually hidden by default \\SERVERNAME\APPS$\PWB\APPLICATIONS

Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

Re: PWB prompting with Windows Security Prompt

Post by Rockhard »

I was able to add the location to our Trusted Sites, and it does work when set to LOW security.

However due to security our network engineer does not want to change all the settings to LOW. Do you know what specific security setting will need to be toggled in order to allow this?

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB prompting with Windows Security Prompt

Post by Scott »

It would be a bit more work, but you could use the PWB dynamic external java commands to run local applications from a web page with JavaScript commands instead of open a folder on the computer.

More information:
https://www.teamsoftwaresolutions.com/b ... ernal.html

Set in INI:
[Java]
EnableExternalJava=True
JavaExecute=PWBExecute

Code: Select all

function OnClickExecute()
{
  if(isChrome)
    pwb.PWBExecute('NotePad.exe');
  else
    window.external.PWBExecute('NotePad.exe');
}

<form><input type='button' name='execute' value='Execute command' onClick='OnClickExecute()'></form>
--Scott

Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

Re: PWB prompting with Windows Security Prompt

Post by Rockhard »

I don't think that would work, as we have anywhere from 40 to 50 applications. We Use Access Based Enumeration to publish them so they are not visible to all users with the PWB.

Do we know what Advanced Security Settings need to be toggled to get it to work, instead of just flipping it all over to LOW?

Rockhard
Benefactor
Benefactor
Posts: 80
Joined: Thu Jun 11, 2009 7:55 am

Re: PWB prompting with Windows Security Prompt

Post by Rockhard »

- After some further testing it looks like I figured it out. Made the following change.

- change the Security Settings for the Local Intranet, Custom Level, Launching programs and files in an IFRAME (Change from Prompt to Enable).

Post Reply