Author |
Message |
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Wed Jan 16, 2002 4:21 pm (22 years, 3 months ago) |
|
ANYBODY out there at this new thing???
On the nukien webhosting thing i found one big flaw,
no .htaccess ro .htpword files.
(they disapear and can't be removed anymore)
now, i know there are other ways to password protect a cgi directory such as an admin area, but WHAT and WHERE?
Can anyone help me with this, i just spent some hours on cgi resources but didn't find a dam thing
Any input appreciated
rudme |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Jan 16, 2002 4:24 pm (22 years, 3 months ago) |
|
I think all you need to do for .htaccess files to appear is to add "-a" to the LIST command ("LIST -a"). This setting is not available in all FTP software. |
________________________________
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Wed Jan 16, 2002 5:32 pm (22 years, 3 months ago) |
|
rudme wrote: |
ANYBODY out there at this new thing???
On the nukien webhosting thing i found one big flaw,
no .htaccess ro .htpword files.
(they disapear and can't be removed anymore)
now, i know there are other ways to password protect a cgi directory such as an admin area, but WHAT and WHERE?
Can anyone help me with this, i just spent some hours on cgi resources but didn't find a dam thing
Any input appreciated
rudme
|
What FTP Client are you using? |
|
|
|
|
Gandalf
WebHelper
Joined: 08 Jan 2002
Posts: 52
Location: Israel
|
Posted:
Thu Jan 17, 2002 2:00 am (22 years, 3 months ago) |
|
If it's such a big bother (or if it's impossible to Telnet to the server), why not simply overwrite the (apparently unwanted, if I understood correctly) .htaccess file with a new, empty one?
(as for alternate ways to protect files online: there are ways to do this with MySQL and PHP, but the ways I can think of right now are cumbersome.) |
________________________________ Everything should be made as simple as possible, but no simpler. |
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Thu Jan 17, 2002 2:30 pm (22 years, 3 months ago) |
|
Daniel wrote: |
I think all you need to do for .htaccess files to appear is to add "-a" to the LIST command ("LIST -a"). This setting is not available in all FTP software.
|
Sounds so easy.
I have WS_FTP LE and i do have an FTP COMMAND thing in it (that i have never used ergo no clue what to do with it) that says LIST
now if i do click on it while i am in that particular folder (which i renamed as "trash" now as my best idea of "disposle") where i buried the 2 .ht files on nukien it just says nothing, it does not show them in there either.
So, what are your instructions on how to do this?
Do i need to add this "-a" to the files before i upload them, or simple pop 2 of those -a's into the open LIST window?????
Can you specify please
Thanks
Rud |
|
|
|
|
Ben
Senior WebHelper
Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK
|
Posted:
Thu Jan 17, 2002 2:37 pm (22 years, 3 months ago) |
|
|
|
|
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Thu Jan 17, 2002 6:28 pm (22 years, 3 months ago) |
|
if you are looking for anything except .htaccess protection, you may use cookie based/session based protection in files with support for multiple user levels. there are many out there awaiting for you to use them. |
________________________________ Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test |
|
|
|
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Thu Jan 17, 2002 6:31 pm (22 years, 3 months ago) |
|
jayant wrote: |
if you are looking for anything except .htaccess protection, you may use cookie based/session based protection in files with support for multiple user levels. there are many out there awaiting for you to use them.
|
forgot to mention that you won't be able to protect data in not script files i.e all except php/cgi/pl/asp/... with it
|
________________________________ Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test |
|
|
|
Garth Farley
WebHelper
Joined: 08 Jan 2002
Posts: 69
Location: Ireland
|
Posted:
Fri Jan 18, 2002 12:16 pm (22 years, 3 months ago) |
|
If you are really concerned about protecting some stuff, could you upload them outside of the www - publicly available - directory .
Then you could write a Perl script for yourself in the www directory that, once you enter the correct password, will pipe these external files through the to your browser.
It wouldn't be too much of a challenge writing such a script to pipe text files, but images and non-text files would be a bit fiddly, but should be possible.
It's a tough work-around, but if you are desperate should work.
Garth Farley |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Fri Jan 18, 2002 4:34 pm (22 years, 3 months ago) |
|
I still don't see why htaccess can't be used. Even if you can't see the file, you can still overwrite it. |
________________________________
|
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Fri Jan 18, 2002 6:05 pm (22 years, 3 months ago) |
|
some of you know in the meantime the nukiens (ornvphost)
which is where my files are.
Anyone of you tried to password protect a cgi dir (all cgi files in that dir) with something???
The thing with the WS_FTP COMMAND LIST looks like the best solution - if only i knew how to do it.
Overwriting (someone wrote) the 2 files?
What for, they are not only invisible, they are also not working, and that is the problem.
If they where working i wouldn't care if they where visible or not
Daniel wrote: |
I still don't see why htaccess can't be used. Even if you can't see the file, you can still overwrite it.
|
|
|
|
|
|
rudme
Junior WebHelper
Joined: 16 Jan 2002
Posts: 11
Location: global
|
Posted:
Fri Jan 18, 2002 6:44 pm (22 years, 3 months ago) |
|
There i use this WS_FTP thing since years - and always thought these 2 white empty bars within the commando buttons are just a "decorative misfortune".
Well, now i know how to view and even edit those invisibles (but it still doesn't work, need to find someone with specific experience for .htaccess in nukien, i guess that file needs something extra particularly for that host to work (besides of the full path i mean)
Rud
|
|
|
|
|
szo2
Junior WebHelper
Joined: 10 Jan 2002
Posts: 18
Location: Hong Kong
|
Posted:
Tue Mar 19, 2002 10:21 am (22 years, 1 month ago) |
|
Well, you just enter ".htaccess" in the text box between the command buttons on the right and press enter, don't you? |
|
|
|
|
|