Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Add From A Script Users To Webprotect?, adding users outside cpanel
spy_charly
post Feb 22 2006, 10:46 PM
Post #1


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



hello guys i was wondering how to add new users allowed to poen cartain folder but added from a php script or something.

In fact i want just my friends see that folder but as soon as they register, they are granted inmediatly with the selected user and password they chose, is it possible? how? and where to add them?
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 23 2006, 02:40 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,071
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



What you are looking for is a "log-in" script. Each user has a password and are assigned a "level".
Here at the Trap, Guests, Members. Mods, and Admins are different "levels".
Each level restricts what you can do, where you can go, and what you can see when you get there. Most Forum software like phpbb, IPB, etc and most CMS systems use a similar process to assign a user their capabilities and access.
There are various "log-in" scripts around the web. Some are more efective than others. Be sure that when a viewer does a "view > source", that there are no clues to the password or the location of the password. This usually means a Server Side Script will be required. Something like php or perl.
Also, the process should not allow users to sneak in the back door to your site, meaning, there should be a procedure to send non-validated users to a sign-in page to be validated.
It can get pretty tricky in spots, so if I was to install a system such as the one you need, I would have a package written by someone else because I don't yet have enough experience to write it myself.

try searching the tutorials here or hotscripts.com. or google on it.
Go to the top of the page
 
+Quote Post
spy_charly
post Feb 23 2006, 04:09 AM
Post #3


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



well that wasnt exactly what i want, this is my situation.
At school we have some kind of club and we are several, and to avoid soemone else can even sees the page i would like to use this feature "WebProtect" that is included in cpanel, but th big diference is that when they just register to have the script (this is not the problem yet) insert their user name and password into the database the "Web Protect" feature uses (This is the problem) where to insert the data?
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 23 2006, 04:20 AM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,071
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Don't know.
Go to the top of the page
 
+Quote Post
michaelper22
post Feb 24 2006, 01:54 AM
Post #5


-=Hybrid Bus=-
*********

Group: Members
Posts: 742
Joined: 2-November 05
From: My hybrid bus (in NYC), a computer
Member No.: 13,709
Spam Patrol



You could probably make a script that appends a username and password for registration to the .htaccess file that Web Protect uses. I could make up a Perl script in a couple of minutes if you needed. I understand what you are talking about.

This post has been edited by michaelper22: Feb 24 2006, 03:13 AM
Go to the top of the page
 
+Quote Post
spy_charly
post Feb 25 2006, 04:41 PM
Post #6


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



yeah buddy that would be awsome, does trap 17 support perl?...well doesnt matter but yep it would give me the idea...
thanx in advance
Go to the top of the page
 
+Quote Post
michaelper22
post Feb 26 2006, 12:01 AM
Post #7


-=Hybrid Bus=-
*********

Group: Members
Posts: 742
Joined: 2-November 05
From: My hybrid bus (in NYC), a computer
Member No.: 13,709
Spam Patrol



Trap17 supports Perl, PHP, and probably some other languages. Really, a script like the one I mentioned is really easy to make. Maybe I'll sit down with my Perl book tonight and make a script.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Read This At Any Cost Before Posting Here(8)
  2. Could Someone Make A Php Script For Me?(3)
  3. Guestbook (cgi-script) Problems(5)
  4. Html Tag For A Code Box(4)
  5. Problem Creating Email Accounts In Cpanel(13)
  6. Problems Adding An Email Account(3)
  7. Unable To Access Cpanel(6)
  8. Maybe Time For A Cpanel Update?(10)
  9. Cannot Access Cpanel...(3)
  10. Can Warning And Negative Hosting Credits Suspend My Hosting?(3)
  11. Question Regarding Cpanel Backup(4)
  12. My Cpanel(11)
  13. Cpanel Blocked(6)
  14. My Opinions On Trap17(1)
  15. Server Issues? Web Site Down? Cpanel Access?(48)
  1. Cpanel Help, Trouble Logging In.(4)
  2. Unable To Replace .png File In Directory(7)
  3. Official: Can't Access My Cpanel - Supports From Admins(71)
  4. Page Load Error When Accessing Cpanel(0)
  5. Can't Access My Site An Cpanel(6)
  6. Phpizabi Social Network Script(1)
  7. Fantastico And Cpanel Skin Problem.(1)
  8. I Cannot See My Website Or Log Into Cpanel(7)
  9. Cpanel(4)
  10. Logging Into Cpanel [resolved](13)
  11. Fileop Failure On A Folder(6)
  12. Cant Log Into Cpanel [resolved](11)
  13. Cpanel Down(5)


 



- Lo-Fi Version Time is now: 11th October 2008 - 03:08 AM