Add to Google

How To Add From A Script Users To Webprotect? - adding users outside cpanel

free web hosting
Open Discussion > General > Hosted Members Area

How To Add From A Script Users To Webprotect? - adding users outside cpanel

spy_charly
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?

Reply

jlhaslip
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.

 

 

 


Reply

spy_charly
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?

Reply

jlhaslip
Don't know.

Reply

michaelper22
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.

Reply

spy_charly
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

Reply

michaelper22
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : add, script, users, webprotect, adding, users, cpanel

  1. How To Change To The Default Template Of Cpanel?
    (3)
  2. Cpanel Skin
    (3)
    For some reason I changed my skin from x3 to something really ugly (rvskin) and I can't change
    it back. Only one other theme shows up. Can someone help me?....
  3. Welcome All New Registered Users Of Trap17
    Please read as soon as you join. (0)
    Hello. Trap17 welcomes all of you great new members to our fabulous community of Free webhosting
    with No Ads ! /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif"
    /> First thing you need to do when you have registered, is make your Introduction in the
    Introductions forum so we can all meet, and get to know you. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Next you have to post a bit
    till you get 10, or 30 hosting credits. Once you have the required posts (They must be non-spammed
    quality posts. N....
  4. Cpanel Down
    i can't open my cPanel or connect to FTP (7)
    I just got my whole web hosting thing set up, but the trouble is, all of the suddent, whenever i
    push the cPanel link it tries to connect for a while and then i fails, the same with FTP connection.
    Everything was ok just a while ago...is it a temporary thing?....
  5. Need Help With Javascript Drag And Drop Script
    Having trouble with javascript drag and drop script. (2)
    hi, i have been trying to create a drag and drop menu for my new website, so that the navigation
    menu can be moved around the site. This is the code i have: CODE <html> <head>
    <title>Test run - Right click menu</title> <script
    type="text/javascript"> function coordinates(event) { if
    (event.button==2)   { var x=event.x; var y=event.y; }
    document.getElementById("element").style.left=x;
    document.getElementById("element").style.top=y;
    document.getElementById("eleme....
  6. Google Keyboard: Computer Keyboard For Core Google Users
    Share your Ideas, Opinions & Suggestions for Google Keyboard (3)
    Hello, As I was coming back home from work, me and a colleague were discussing about how helpful
    and faster chrome is compared to firefox (Firefox still rules though /xd.gif"
    style="vertical-align:middle" emoid=":XD:" border="0" alt="xd.gif" />) Well chrome got me thinking
    about what if Google launched a keyboard of its own... Now it set me thinking about what goodies
    I'd like in this keyboard. First of all I think it would be awesome if the keyboard could
    automatically synchronize with Chrome so that speed dial or something could be possible. Now my idea
    was that....
  7. Cant Log Into Cpanel [resolved]
    Page cant be displayed (11)
    Help I can not log into cpanel. I just upgraded to IE-7 and now I can not get into my Cpanel. what
    the page is telling me is this. QUOTE Internet Explorer cannot display the webpage Most
    likely causes: You are not connected to the Internet. The website is encountering problems. There
    might be a typing error in the address. What you can try: Diagnose Connection Problems
    More information This problem can be caused by a variety of issues, including: Internet
    connectivity has been lost. The website is temporarily unavailable. The D....
  8. Deny Or Grant Users Access To Files Of Choice (vista)
    Uses Bat Files To Deny Or Grant People Access To Files (3)
    Deny Or Grant Permission Requires Notepad Vista This Technique Can be Used On Earlier
    Versions Of Windows But Uses Different Syntax: To Deny Access Open Notepad and Type @echo off
    cls Icacls PATH OF FILE GOES HERE WITHOUT PARENTHESES /deny USERNAME OF PERSON YOU WANT TO DENY:(F)
    And To Grant Is The Same Process @echo off cls Icacls PATH OF FILE GOES HERE WITHOUT
    PARENTHESES /grant USERNAME OF PERSON YOU WANT TO DENY:(F) And There It Is. Simple Huh!....
  9. Fileop Failure On A Folder
    On cPanel (6)
    CODE FileOp Failure on: /home/skyed211/public_html/forums/style_images/ip.boardpr:
    Operation not permitted I seen to get this error when CHModding the above folder. My boards
    images will not work, I've tried help from IPS, and one of the IPS Resources staff, and no help.
    They don't know what's wrong. This happens (the error) on Trap17's side and on cPanel,
    plus on FTP programs. What is wrong with this? It's obviously Traps side that's causing it.
    I have a correct IPB 2.3.5.rar, all files are correct nothing wrong with them. I'....
  10. Java Script To Hide The Url In Address Bar
    Does any one know about this ? (6)
    Hello friends , just now i came accross a particular type of script which is capable of masking the
    URL which is seen in the Address bar of the webpage , that is by implementing the particular Java
    Script when the user visits a page eg. www.mysite.com , then it is possible for the admin of
    www.mysite.com to mask this site and display some other website in the viewers address bar. I came
    to know that such a script can be written using Java Scripts , Can any one get me the Script ??....
  11. [request] Avatar For Trap17 Users
    Nice one... for my avatar rotator script (0)
    As per the description above, I would like to challenge the GFX people here on the Trap17 to design
    a nice, bright, clear, professional looking 'avatar' for me and other members to use. I
    plan on including it in my Rotator Script, which I think can be found in the Tutorial Section here
    on the Trap17. (If not, I must write that one soon). /laugh.gif" style="vertical-align:middle"
    emoid=":lol:" border="0" alt="laugh.gif" /> I'm thinking that we need to open this up as a
    Competition so all Members can contribute and then the Admins can start a new section in ....
  12. Unable To Change Cpanel Password
    Too simplistic/systematic (5)
    ... and my password looks like "lnnnnnnnnnssnnnln" (l = letter, n = number, s = symbol like
    !@#$%?&*()) !?....
  13. Destination Address For "submit" Button
    Adding a destination email address to a "Submit" button (5)
    I discovered this site while searching for an answer on what HTML code to use to print a web page.
    "Skymonkey" provided the answer to a similar question posed back in 2005. I now have another
    question about submitting a web page with fill in blanks. Is there an easy HTML code that can
    include a destination address to a "Submit" button without having to use Javascript? I have created
    a form with fill in blanks and now want to have people simply hit the Submit button to send their
    information to a particular email address. Thanks for any help. Tom T.....
  14. Can't Access My Site An Cpanel
    already did some sugested things (6)
    I still can't get to my website and cpanel, Tings I did: requested xisto to unblock my ip
    cleaned my cache/cookies Did this with both IE and FF When I am @ my dads house he can acces my
    website. So I guess it is still an ip problem. I did read some posts but couldn't find a
    solution. Thx in advance,....
  15. Official: Can't Access My Cpanel - Supports From Admins
    (71)
    Scroll down to Post #8 for Admin Support Ok I've read stuff here and there in the support
    forum and shoutbox about the recent trap17 server problem. I'm extremely confused. Some people
    say that their websites are working fine. Some people are experiencing different issues from mine,
    had their website reset or something. I can access my website on the gamma server, so I assume that
    if I unpark and park my domain again, I can get it to work like the last time. I accessed my cpanel
    at bishoujo.trap17.com/cpanel because the 'Access CPanel' link on the fo....
  16. Php Ftp Upload Form
    Adding User Directory to PHP Upload Form - Help (1)
    Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
    folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
    directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
    upload things into the main directory, only sub-directories, is that possible with this coding that
    I have: //uses $_FILES global array //see manual for older PHP version info //This
    function will be used to get the extension from the filename function get_extension($fi....
  17. Adding Drop Down Menus
    (7)
    I have looked around many IPB support sites, but I didn't find a suitable drop-down menu add-on
    that I liked or worked correctly. I have noticed the drop down menus on this forum on other forums,
    and I was wondering if this was custom to this site or there was a tutorial somewhere which shows
    how to make one similar to this? Or if anything, I basic IPB drop down menu tutorial/add on.
    Thanks.....
  18. Very Simple Online Now Script
    This is a very simple online now script. (4)
    Hi all, Its Aldo. anyways, I wont be using the method of pagination, i will just tell you how to
    make a basic online now script. When someone logs in, now take into consideration that the name of
    the username input is username ( First ,create a table in your database saying online now and add 2
    fields to it. id and username CODE id type=integer(INT) , auto increment, length =255
    and username = VARCHAR length=the limit a username should be in your site now from there we take
    off : CODE <?php //logged.php //authentication script //connection scri....
  19. Jsp Or Java Chat Script Like Mig33
    (5)
    so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
    anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
    supports jsp so im planing to use it for my application. i was hosted here last year but moved
    because i found a better host. now im back just to use the jsp on this server. Im planing to run
    chat applictions so if any one wants to help me in my project let me know.....
  20. Adding Shine To Text
    images say "Tiger Ads", but, the board is clsed, so, i'm r (4)
    OK, in this tut, I am going to show you how to add shine to any text. For this example I will be
    using the TigerAds affiliate button. (the board is since closed so, I'm not really advertising
    /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />) OK then,
    lets get started! 1. Open up the image that you will be using, this is mine: 2.
    Now that your image is open and making sure that its the .psd so you can edit the text on it. In
    your layers menu, hold down CTRL and click on the text layer so that only the te....
  21. Trap17 Link Exchange Script Introduced
    (28)
    Hi, We have introduced a link Exchange Script at Trap17. http://www.addlivelinks.com/ The
    categories are yet to be setup. It will be done as we receive link requests. Thanks. -OpaQue....
  22. Verifying Email Addresses
    Using a simple PHP script (9)
    This simple script will allow you to run some basic checks to make sure that any email address
    entered is actually an email address. There is no guarantee offered that this will stop every single
    fake email address, but it'll provide some protection. Now, the code! First we need to get
    the email address to verify. Here, I get it using POST from an HTML form. CODE <?php //Load
    email address from web form $email = $_POST['email']; Now, we move on
    to our first check. Does the text that has been entered look like it could b....
  23. Delay X Seconds In Flash
    how to action script that (1)
    How do i have to do, to tell a frame to wait x seconds after it continues playing? In Macromedia
    Flash, of course... Like: CODE stop(); "wait  x seconds"; play();
    Thanks....
  24. Making Winrar Archives
    and adding password to winrar archives (13)
    **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
    **** What You Will Need Before continuing you will need a couple of thing, first of all you
    need WINRAR , which is a very powerful archive manager. It can reduce size for you email
    attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
    winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
    this is what I used to make this tutorial. I think it works with any other windows not....
  25. Guestbook (cgi-script) Problems
    Do u know much bout chmod and cgi-cripts? (5)
    Hi! I'd like to make a guestbook with a cgi-script I found at Lissa Explains it All .
    There were instruction bout how to install this gbook: click here QUOTE Active Guestbook
    Unzip the file, you'll find 4 separate files: guestbook.cgi mail.gif url.gif readme.txt 1.
    Open guestbook.cgi in a plain text editor like notepad. Find out your path to perl from your Web
    host, and change the first line to reflect that. The default setting, #!/usr/bin/perl, usually
    works for most servers. If not, you can try #!/usr/local/bin/perl. Save your changes. ....
  26. [help] Java Script: Window.open
    Works with Firefox, not IE (10)
    CODE <HEAD> var popUpWin=0; function popUpWindow(URLStr) {
     if(popUpWin)  {    if(!popUpWin.closed) popUpWin.close();  }
     popUpWin = open(URLStr, 'GunBound Tactics: Screenshots',
    'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90')
    ;; } </HEAD> <BODY> <a
    href="javascript:popUpWindow('/f11/clipped.php');"><b>Clips&
    #60;/b></a> This is a script for opening a new window. It works ....
  27. Many Php Script Sites
    (16)
    Hi I find many sites has PHP scripts :: http://www.proxy2.de/scripts.php http://www.free-php.net
    http://knubbe.t35.com/ http://www.ngcoders.com/ http://www.oxyscripts.com/
    http://www.phparena.net/ http://www.1phpstreet.com/ http://px.sklar.com/
    http://www.scoznet.com/ http://php.resourceindex.com/ /blink.gif' border='0'
    style='vertical-align:middle' alt='blink.gif' /> ....
  28. Php Quiz Script
    Make quizzes for your site. (21)
    Hello all, A little bit back I decided to make a quiz scriptjust out of no where lol. However it
    doesnt do anything special but I am going to make an email mod for it so that it will email results
    to your email address. So here is the basis of it. INSTRUCTIONS: Open a new page in your text
    editor and paste in the following code. CODE <?php $qid = "Quiz ID-00"; ?>
    <html> <head> <title><? echo "Gamers Pub $qid";
    ?></title> </head> <body> <p><h3><? echo "....
  29. Read This At Any Cost Before Posting Here
    THE CPANEL DOCUMENTATION (8)
    Most of you might have problems regarding web Hosting. We give literally ALL THE CONTROLS to our
    Clients. Unlike OTHER HOSTS , WE do NOT Block Critical Features and let our members explore through
    them. ALL the ERRORS you might get can be corrected or is a result of misconfiguration at the
    Cpanel. We have the same amount of control as you have. We give you everything. So if you DO NOT
    understand how to go with Cpanel, READ THE FOLLOWING DOCUMENTATION CAREFULLY! Edit: Changed
    the cPanel documentation link.....
  30. Cron Jobs - Cron Jobs In Cpanel
    Cron Jobs : Cron Jobs using PHP (32)
    How to setup Basic Cron Jobs. Ok. Many people are yelling that they cannot configure the
    crons properly. Here is a short tutorial which will help you set them. I have tried my best to
    explain the concept but there can be more advanced configurations. Basically you will want to run a
    PHP script file in specific intervals. Suppose you want to execute a php file called maintanence.php
    every one hour. This is what you do :- The CRON Command is in the Following Format CODE
    [ Minute - Hour - Day - Month - Weekday ] - Command The COMMAND, can be bro....

    1. Looking for add, script, users, webprotect, adding, users, cpanel

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for add, script, users, webprotect, adding, users, cpanel

*MORE FROM TRAP17.COM*
Similar
How To Change To The Default Template Of Cpanel?
Cpanel Skin
Welcome All New Registered Users Of Trap17 - Please read as soon as you join.
Cpanel Down - i can't open my cPanel or connect to FTP
Need Help With Javascript Drag And Drop Script - Having trouble with javascript drag and drop script.
Google Keyboard: Computer Keyboard For Core Google Users - Share your Ideas, Opinions & Suggestions for Google Keyboard
Cant Log Into Cpanel [resolved] - Page cant be displayed
Deny Or Grant Users Access To Files Of Choice (vista) - Uses Bat Files To Deny Or Grant People Access To Files
Fileop Failure On A Folder - On cPanel
Java Script To Hide The Url In Address Bar - Does any one know about this ?
[request] Avatar For Trap17 Users - Nice one... for my avatar rotator script
Unable To Change Cpanel Password - Too simplistic/systematic
Destination Address For "submit" Button - Adding a destination email address to a "Submit" button
Can't Access My Site An Cpanel - already did some sugested things
Official: Can't Access My Cpanel - Supports From Admins
Php Ftp Upload Form - Adding User Directory to PHP Upload Form - Help
Adding Drop Down Menus
Very Simple Online Now Script - This is a very simple online now script.
Jsp Or Java Chat Script Like Mig33
Adding Shine To Text - images say "Tiger Ads", but, the board is clsed, so, i'm r
Trap17 Link Exchange Script Introduced
Verifying Email Addresses - Using a simple PHP script
Delay X Seconds In Flash - how to action script that
Making Winrar Archives - and adding password to winrar archives
Guestbook (cgi-script) Problems - Do u know much bout chmod and cgi-cripts?
[help] Java Script: Window.open - Works with Firefox, not IE
Many Php Script Sites
Php Quiz Script - Make quizzes for your site.
Read This At Any Cost Before Posting Here - THE CPANEL DOCUMENTATION
Cron Jobs - Cron Jobs In Cpanel - Cron Jobs : Cron Jobs using PHP
advertisement



How To Add From A Script Users To Webprotect? - adding users outside cpanel



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE