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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
Kailash AgheraCommented:
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
nds_rahulmistryAssistant Manager - ITCommented:
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.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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 but keep in mind that this would be a very simple protection method which advanced users/programmer can simply bypass

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:

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hermesalphaAuthor Commented:
Very valuable advice from all of you, thanks very much!

yogi4life, the link 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.

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

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

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

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

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.