katia Posted May 25, 2006 Share Posted May 25, 2006 I have to make photo sharing a web page. I can only use client-side JavaScript and HTML (for didactical reasons), all the information about users and the photos are in folders and files and not in a database.Since I'me very new to this I want to know how to create a login page? Does every user have their own web page with their information? Or can I create the pages dynamicaly , at the moment they log in ,depending on the information I have about the users? Link to comment Share on other sites More sharing options...
snowboard01 Posted May 25, 2006 Share Posted May 25, 2006 Could you quickly do a seach of login in all forums. This has been dicussed 500+times Link to comment Share on other sites More sharing options...
katia Posted May 25, 2006 Author Share Posted May 25, 2006 Could you quickly do a seach of login in all forums. This has been dicussed 500+times<{POST_SNAPBACK}> I did that. The only answer I got was: "use a server-side langauage" and I really have to do it client side Link to comment Share on other sites More sharing options...
Jack McKalling Posted May 25, 2006 Share Posted May 25, 2006 Then the simple answer is: no, you can't. Sharing communities NEED server-side languages, really (I'm sorry ) Link to comment Share on other sites More sharing options...
aspnetguy Posted May 25, 2006 Share Posted May 25, 2006 I did that. The only answer I got was: "use a server-side langauage" and I really have to do it client sideĀ <{POST_SNAPBACK}> If you did it client side then anyone could open the page source and view the passwords. Link to comment Share on other sites More sharing options...
katia Posted May 25, 2006 Author Share Posted May 25, 2006 Then the simple answer is: no, you can't. Sharing communities NEED server-side languages, really (I'm sorry )<{POST_SNAPBACK}> After a lot of searching, I've finalyuy found an example: http://drewsdesigns.50webs.com/js.login.htmSo, it is possible. As I said, is for didactical use and I have to use only client-side Link to comment Share on other sites More sharing options...
justsomeguy Posted May 25, 2006 Share Posted May 25, 2006 +1, use of "didactical"Creating a client-side authentication system is no easy task, it requires an advanced knowledge of Javascript to be able to sign in and send an authentication request back to the server (probably through XMLRPC or something), in addition to updating a cookie or whatever you need to do to keep track of who is logged in. It might be possible, but it's not at all practical when a server-side setup can be done much easier, and client-side authentication is not even remotely secure.If this is an assignment, some sort of proof-of-concept thing, then I might suggest that your teacher is going a little overboard, because in reality you would never want to use something like this. The fact that you've only found one example after "a lot of searching" should tell you that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now