Adding Permissions in the .NET Framework Configuration Tool – PB Docs 120


Adding Permissions in the .NET Framework Configuration Tool

The list of permissions that display in the Security tab permissions list box is the same as the list in the “Everything” permission set of the .NET Framework 2.0 SDK Configuration tool runtime security policy.

To add permission settings that are not in the custom permissions list:

  1. Close PowerBuilder if it is open, and create an XML file with the permission settings you want to add.
    For example, by default, the SMTPPermission setting is not included in the assigned permissions in the “Everything” permission set. To create this permission, save a file named SMTPPermission.xml with the following content:

  2. Open the .NET Framework SDK Configuration tool from the Administrative Tools folder in your computer Control Panel.
  3. In the left pane of the configuration tool, select My Computer > Runtime Security Policy > Machine > Permission Sets > Everything, then select the Action > Change Permissions menu item.
  4. In the Create Permission Set dialog box, click Import to open the Import a Permission dialog box, browse to the SMTPPermission.xml file, and click OK.
  5. Click Finish, close the configuration tool, and open a .NET project in PowerBuilder to the Security tab page.
    The SMTPPermission displays in the list box of the Security tab page. You can scroll the list to see it when you select any radio button option other than Full Trust.

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x