Can I create a restricted area for logged-on users on my website with simple HTML?

Can I create a restricted area for logged-on users on my website with simple HTML?

Or would I need to use JavaScript for that?

The functions I want in this restricted area are:

1. Log-in to view my CV
2. Log-in to upload files
3. Log-in to download files

I also want a registration procedure for new users, so after they've registered as new user they receive a user-ID and password and can log-in to the restricted area on my website.

Would I name the pages for this restricted area with .phtml and not .html?

My hosting provider is JustHost.

Would this be a very complicated thing for me to do (I'm a beginner with HTML)?
Would it require MySQL Server also to store registered users? Or would it be taken care of by my hosting provider?
hermesalphaAsked:
Who is Participating?
 
yogi4lifeConnect With a Mentor Commented:
Hi HermesAlpha,

I would think that the best, quickest and easiest way for you to go would be to use the JustHost 1-click Joomla install feature.

Joomla is programmed in PHP using mySQL and the installation on JustHost is really simple. It has all the features you need for your
CV-site. The most complex things have been handled by the programmers of Joomla and a lot of the other complex things have been handled by JustHost. But you will still need to get a grip on how to select the features of Joomla to enable the features you would like to use and disable those that you dont need.

Here is a site that might get you going: http://www.joomla.org

There are similar alternatives that might be as good for you - but I know that Joomla would be a good choice for the features you need.
Alternatives: Drupal
0
 
EggpatchConnect With a Mentor Commented:
Nope you need .php extension. You need Php programming and Mysql for your database, please get your access on your Hosted server to access your database, below link is the tutorial for SImple login logout, hope it helps.

http://www.satya-weblog.com/2007/05/php-login-logout-script.html
0
 
Kailash AgheraConnect With a Mentor Commented:
You can password protect the page using JavaScript but it is not secure. You will need to use server side scripting language to implement this. You can develop this using PHP or ASP language.

Since you want to setup user registration, you will require database too to store the registration data. If your web site is hosted on Linux, you can use PHP+MySQL to design such system.

- Kailash
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
nds_rahulmistryConnect With a Mentor Commented:
It is not possible with help of only HTML. You will have to combine other technology like ASP, PHP etc.

If you want the user to register themselves, then you need to store their Username and Password into a database or an encrypted file. This can be done by ASP or PHP or by other scriptings. The MySQL database will be useful to store your user's info, their files, CVs etc.

Your hosting provider is not responsible for taking care of your users, so you will have to give proper web interface for them to register themselves, allow them to upload / download their files and CVs etc.
0
 
remorinaConnect With a Mentor Commented:
Hi hermesalpha,
HTML is a client only language, it can't manipulate, store or retrieve values, so you will need a server side scripting language in order to achieve a user registration / profiling.

JustHost is a Linux based hosting, so you'd be looking at some PHP scripting and you'll need MySQL to store the usernames/ passwords, info, etc.., It can be stored in a file such as text or XML file but that wouldn't be a good practice at all plus it would still require good php skills.

If you're willing to make a user registration for only collecting user info, since you're not willing to provide different information for each user, then you can use an email form that a user would fill, and it sends you an email with the info then it redirects the user if the form was successful to a page containing a password to access protected information.

Then you can protect the desired section you need using a simple Javascript password protection using the method described here http://www.pageresource.com/jscript/jpass.htm but keep in mind that this would be a very simple protection method which advanced users/programmer can simply bypass

0
 
hermesalphaAuthor Commented:
Very valuable advice from all of you, thanks very much!

yogi4life, the link http://www.joomla.org displays the site incorrectly (see the paint picture I've enclosed and uploaded here). I can't see almost anything. Why? I use IE8, so the browser should be ok.



Joomla--wrong-with-site.bmp
0
 
yogi4lifeCommented:
Thanks HermesAlpha,

I would think that you have a problem with your browser and/or your computer. I can see that you have a lot of add-ons in your Internet Explorer and you should disable all that you don't use. Some of them might create a lot of problems for your browser...

 According to Google Trends, Joomla is the most popular CMS in use - and I don't think they have a problem with their site right now....

0
 
hermesalphaAuthor Commented:
The problem might be that I'm in China now. There is also this site (that works):

http://www.joomlar.cn/website/index.php

N.B! joomlar is spelled with an extra 'r' (not joomla), but the description is the same as the main site
on http://www.joomla.org/:

"OpenSource Content Management System"

So it should be the same application.

I think I can access the main site if I use StrongVPN to enable me to use an encrypted tunnel and use servers in US.



"
0
All Courses

From novice to tech pro — start learning today.