Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

C# string to executed code

string

  • Please log in to reply
13 replies to this topic

#13 lespauled

lespauled

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1360 posts
  • Programming Language:C, C++, C#, JavaScript, PL/SQL, Delphi/Object Pascal, Visual Basic .NET, Pascal, Transact-SQL, Bash

Posted 19 September 2012 - 05:02 AM

I think you're misunderstanding me. I am not saying that there is a possibility of an exception being thrown. When I asked if it was going to be deployed somewhere, I meant is it going to be accessed by people other than yourself. At that point, you run into many security issues. That's what I meant by permissions. A general user should not be able to execute code that can adversely affect the server.
  • 0
My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth

#14 AceInfinity

AceInfinity

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 313 posts
  • Programming Language:C, C++, C#, Perl, Visual Basic .NET, Assembly, VBScript, Others

Posted 19 September 2012 - 08:09 PM

"Server"? Now i'm confused. :confused:

And in this case there is the Run prompt that shows up from UAC settings that would allow the user to run the program or not, the security/permission issue isn't really a bother in my opinion.
  • 0

Microsoft MVP (2012) - .NET Programming | ®Crestron DMC-T Certified Programmer
Posted Image






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download