CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Taint Checking

 



Vanis
Deleted

Jan 5, 2001, 9:15 AM

Post #1 of 3 (459 views)
Taint Checking Can't Post

Hi,

I created a mini-server program. Perl seems to encourage the use of explicit taint-checking for programs that will be used by other people, servers, CGI, etc. I try to use the -T option on my shebang line, but I receive the error

"Too late for -T option at blah line 1."

I can run my program use the -T option on the command line without trouble. Can I safely assume the -T option on the shebang line is rarely supported..depending on the system?? Or is it rather that taint-checking is automatically enabled by the version of perl I'm using??

Tia,

V (japn)



Pasha
Deleted

Jan 7, 2001, 4:45 AM

Post #2 of 3 (448 views)
Re: Taint Checking [In reply to] Can't Post

What kind of server is it? ...on what OS? Linux? Windows?
Please supply more information, so we could help you.

Regards,

Pasha


$500/day for webmasters!


japhy
Enthusiast

Jan 8, 2001, 12:06 PM

Post #3 of 3 (437 views)
Re: Taint Checking [In reply to] Can't Post

If running a program from the commandline, you must supply the -T option at the commandline. By the time perl sees it in the shebang line, it's too late.

Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives