Jump to content

Xocet

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by Xocet

  1. Obviously I'm not an expert Labview programmer, but your idea sounds like a good one. I'll give that a shot. I've also noticed that if you text-parse a VI you get a few common tags, so I can get PHP to check those. It's not foolproof, but ought to work as a stop-gap. As for security, I'm so far handling it on the web-server side of things - PHP calls the VI into memory under a restricted account, so theoretically it shouldn't be able to delete files. However, I'm not 100% sure that I can launch the Labview web server under the restricted account. I need to do some reading on labview and remote VIs (i.e. what is a Remote Panel Container?) Anyway, this is for a distance-education class, and will be run through the department user authentication system before getting to the PHP upload pages. There will only be a dozen students or so, so if one of them decides to trash my webserver, they'll find themselves in front of a disciplinary committee pretty quickly I would think. Regardless, I've been working under the assumption that Labview doesn't have the capability of securing a system like this. If there is some sort of inherent security for restricted what a VI can do, then I'm all ears. Whatever the security is though, it can't restrict the VI's ability to access the DAQ card, since all the hardware they're using is on a remote ELVIS board. Thanks for you help, -Xo
  2. I'm creating a basic system whereby an authorized internet user can upload a file through a PHP system and then have that file loaded by labview into memory for use on the webserver (via a web page created by the PHP code). However, as a security measure I want to verify that uploaded file is in fact a good, useable VI. Is there a command line switch for labview (7.0) or an independent small utility, that will simply return a yes or a no as to whether or not the file is in fact a valid Labview VI? In the current setup the PHP script would use exec() to run the command and return the output. Also, if anyone has suggestions on a better way to do this, I'm not married to my current method, so feel free to suggest away. Thanks in advance for any help, - Xo
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.