You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Password protecting downloads [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Tue Feb 04, 2003 8:33 am Reply with quoteBack to top

Greetings,


I have the following question concerning the downloads module. I understand that you can make so only registered users can download files from your site but my question is this. Is it possible to create different logins that grant different access rights for downloads and viewing rights? I know that you can do that with forums but not sure with the site itself.

If you can not do it that way can I password protect individual downloads so that on people with that password can download them.

I have seen on many sites that they have a "pay" download area, could I make one of those pages but not charge for it and grant certain access to users?

Regards,

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue Feb 04, 2003 9:36 am Reply with quoteBack to top

that's the way Nuke Club restricts its downloads - password protecting them.

I don't know how it's done in Linux, but in windows u just don't give it Annonymous access, and make sure a user account is set up to access it. It'll prompt u for a password if u try to access the file.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Feb 04, 2003 12:19 pm Reply with quoteBack to top

Make use of the .htpasswd file. Drop it into the directories where you want to protect the files and assign unames/passwords.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Tue Feb 04, 2003 4:31 pm Reply with quoteBack to top

Thank you very much... I have been thinking about .htaccess for this. Thanks for letting me know that it will work in post nuke...

Regards,
Find all posts by GMPrometheusView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Feb 04, 2003 4:59 pm Reply with quoteBack to top

No, not .htaccess, but .htpasswd.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Tue Feb 04, 2003 7:02 pm Reply with quoteBack to top

Thank you very much.

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Tue Feb 04, 2003 7:59 pm Reply with quoteBack to top

Greetings,

I might be misunderstanding how this file works.

Do you not need to have htpasswd to generate the password as well as htaccess to authenticate the password.

I am a little lost is you saying I only need to put in a .htpasswd

Do you mean that I create the .htpasswd file and then tell my people to use that when they try to download the files? Does it create a popup for them to key in the password...

Sorry if this sounds dumb but I am pretty new to all of this...

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue Feb 04, 2003 8:34 pm Reply with quoteBack to top

htpssswd controls the unames and passwords. htaccess controls the actual permissions on the directories (overriding other settings except for those in htpasswd).

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Tue Feb 04, 2003 8:44 pm Reply with quoteBack to top

This is driving me nuts... I thought I had the downloads figured out... now I have uploaded to the downloads folder that I created on my site, created a few sub folders and then placed a test doc in the one of them and it is giving me a 404 error... file not found... I can see it there but when I do a properties on the file in the downloads section it looks really different... Not what it should... What am I doing wrong?

the site is:

http://www.uhws.net

If I can not get the downloads there then putting password protection on some of them is a mute point...

Regards,

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Feb 05, 2003 6:57 am Reply with quoteBack to top

I took a quick gander at this page: http://www.euronet.nl/~arnow/htpasswd/ , it looks like it can help explain.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Wed Feb 05, 2003 4:57 pm Reply with quoteBack to top

Thanks been to the site... Looks good... I will work on that once I figure out what the heck I am doing wrong with getting my downloads into place.. I have followed the download setup instructions but I can not seem to get them to work properly.

I have followed the following info..

http://www.drewvogel.com/PN-i-gsg/config-downloads.html

I keep getting the following error when I click on the file to download it.

404 Error: File Not Found

I know it is there but maybe I am missing something.

I used the following for the file link.

http://www.uhws.net/downloads/staff/upgrade.rar

I created the downloads folder on the root and then added the staff folder within it... They have the proper rights assigned (I think).

Regards,

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Feb 05, 2003 5:59 pm Reply with quoteBack to top

Problem with your first link, the title is:

The Official PostNuke Installation & Getting Started Guide

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Wed Feb 05, 2003 7:03 pm Reply with quoteBack to top

I figured out the problem with my downloads...

Now for the .htpasswd I have created one and put it into the section I wish to have password protected but it does not seem two work..

This is what I did... (note this is not exactly what I typed)

in my Admin Section under Downloads I placed a .htpasswd file with the following text in it ( Staff:,/glb6voksjU ) When I enter the section and try to download anything it lets me...

Am I missing something?

_________________
--Prometheus

You are limited by your own mind.
Find all posts by GMPrometheusView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Feb 05, 2003 7:40 pm Reply with quoteBack to top

Did you follow the guideline for creating the appropriate settings?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GMPrometheus
Private
Private


Joined: Jan 30, 2003
Posts: 35

Location: USA

PostPosted: Wed Feb 05, 2003 8:01 pm Reply with quoteBack to top

Greetings...

I think I have followed it properly...

I put the access file in the folder I wish to protect and I put the password file in another...

But, now I get internal server errors when I try to access the file instead of a popup asking for the password.

I removed the access and password files and I can download perfectly..

Question for you all.. Is there a way to create groups and then grant them permissions to the file folders or download sections?

Regards,

_________________
--Prometheus

You are limited by your own mind.

Last edited by GMPrometheus on Wed Feb 05, 2003 8:52 pm; edited 1 time in total
Find all posts by GMPrometheusView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.253 Seconds - 313 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::