Re: Extened - Re: securing sensitive information in CGI scripts

2001-09-05 Thread Rajeev Rumale
> > Why do you need to store them there? If you can answer that for us, we can give you much better > advice on how to secure it. Good point I should have included in the question itself. Well many time we don't get acess to directries outside the website root. Expecially in case of shared ser

Re: Help me !

2001-09-05 Thread fliptop
Brian wrote: > > Anyway, there are a few ways you can do it. First is to use the built > in function chomp(). It removes new line chars from the end of a > string. The other way you could do it is with a regexp. Something > like: > > $foo =~ s/\s$//; you should use s/\s+$//; instead, sinc

RE: Help me !

2001-09-05 Thread Brian
There is an old saying. Give a man a fish and feed him for a day. Teach a man to fish and feed him for a life time. Instead of us just telling you a regexp to do it, you should really learn regexps since they are what perl is all about. I highly recommend O'Reillys "Mastering Regular Expression

problem with using HTML::FormValidator

2001-09-05 Thread Maryana Osipchuk
Hi All! I try to using CPAN module HTML::Validator and have some problems. May be you can help me ;) In module's description written (for part where constraint has been described): -- constraints This is a reference to an hash which contains the constraints that will be used to check wheter or

Help me !

2001-09-05 Thread Pirabakaran Kunaratnam
Hi People, I need to remove all new line character from a string. Can you please let me know. This is to use for a flat file. When i try to store from a textarea input to a flat file, it has many new line character from the input. Therefor, when retrieve them back from the flat file the data orde

Re: Extened - Re: securing sensitive information in CGI scripts

2001-09-05 Thread Curtis Poe
--- Rajeev Rumale <[EMAIL PROTECTED]> wrote: > I need to store some uploaded files from the "visitors" into some > directories which are inside website root. Rajeev, Why do you need to store them there? If you can answer that for us, we can give you much better advice on how to secure it. Che

Re: Extened - Re: securing sensitive information in CGI scripts

2001-09-05 Thread Gunther Birznieks
This is a very different security question. Basically I think there are two major classes of solution. One is based on randomness and the other is based on a harder core ACL check in the CGI itself and requires the CGI control access to the file more tightly. In Detail: One way which isn't t

Re: active perl on IIS

2001-09-05 Thread Grierson, Garry (UK07)
Has your set-up defined Perl extension types within IIS? I haven't done this manually on 2K but in IIS 3 you can update it through the system registry under HKEY_LOCAL_SYSTEM \system\CurrentControlSet\Services\W3SVC\Parameters\Script Map. On IIS 4 you can use the 'Internet service manager'. This i

Re: securing sensitive information in CGI scripts

2001-09-05 Thread Gary Stainburn
Hi all, I actually combine both of these suggestions. I have my passwords stored seperately. In fact, I tend to put ALL database functions in one perl module or PHP include file outsite the docroot. It adds an extra level of abstraction when I'm writing my CGI/PHP code. It also means that