Wanna use Windows Form in the Web,how to config the web security policy?

Each time a "Microsoft .NET Securtiy" warning message shows in the windows
form,
how to solve the porblem
thanks