Restricting C# Script

This is a discussion on Restricting C# Script within the C# Programming forums, part of the General Programming Boards category; I'm using C# as a scripting language (through Reflection), and I've run into a problem. I want users to be ...

  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 08: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, 10: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21