Thread: Restricting C# Script

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    26

    Restricting C# Script

    I'm using C# as a scripting language (through Reflection), and I've run into a problem. I want users to be able to make their own GUI's through Windows Forms, but I don't want them to be able to access the WebBrowser class because of the potential security risk.

    Does anyone know of a way to block access to the WebBrowser class? Or alternatively, allow access to only certain classes (eg. only forms, buttons etc).
    Last edited by HLMetroid; 12-01-2009 at 09:52 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. deallocating a struct containing arrays
    By maxtothemax in forum C Programming
    Replies: 5
    Last Post: 09-28-2009, 07:09 PM
  2. Script in games
    By Shakti in forum Game Programming
    Replies: 7
    Last Post: 09-27-2006, 12:27 AM
  3. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  4. Passing arguments to script.....
    By suwie in forum C Programming
    Replies: 5
    Last Post: 09-25-2004, 11:10 PM
  5. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM