Hi,
I developed a Perl script script1.pl where we can click on a hyperlink and it calls another script download.pl to list a directory or download a file with an argument.
print qq~ <a href="download.pl?file=$file">$file</a><br>
~;
But people can see the entire path in the argument $ file passed as a variable from script1.pl to download.pl and they can change the path and access to other directory. Can I hide this argument "?file=$file" ?
or use another way to pass my variables to another script after clicking to the hyperlink?
Is it a way to perform these actions in Perl?
Thanks a lot.
I developed a Perl script script1.pl where we can click on a hyperlink and it calls another script download.pl to list a directory or download a file with an argument.
print qq~ <a href="download.pl?file=$file">$file</a><br>
~;
But people can see the entire path in the argument $ file passed as a variable from script1.pl to download.pl and they can change the path and access to other directory. Can I hide this argument "?file=$file" ?
or use another way to pass my variables to another script after clicking to the hyperlink?
Is it a way to perform these actions in Perl?
Thanks a lot.