I've made a windows form application and started placing security attributes
on the assembly. When I use these attributes I always get an annoying
ballon on the app with the following text
"Microft .NET Security Warning
Never enter personal information or passwords into a window unless you can
verify and trust the source of the request
Source:Unknown Site"
The title bar of the program also says the following
"Unknown Zone - <my text here> - Unknown Site"
These are the attributes:
[assembly:
FileIOPermission(SecurityAction.RequestOptional,Un restricted=true),
FileDialogPermission(SecurityAction.RequestMinimum ,Unrestricted=true),
UIPermission(SecurityAction.RequestMinimum,Window= UIPermissionWindow.SafeTopLevelWindows,Clipboard=U IPermissionClipboard.OwnClipboard),
SecurityPermission(SecurityAction.RequestMinimum),
WebPermission(SecurityAction.RequestOptional)
]
How do I prevent this?