close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

activate page WITHOUT database

Thread began 2/15/2013 10:06 am by gzirfas374932 | Last modified 2/15/2013 1:16 pm by gzirfas374932 | 1141 views | 4 replies |

gzirfas374932

activate page WITHOUT database

I have a page I want to protect where the user name and password will always be the same, therefore it doesn't need to be stored in a db. The client will call the company to get these credentials. Try as I may I can't figure out how to do this. I have added access rules in the past but they always concerned a DB. Can you lend some direction?

Sign in to reply to this post

Jason ByrnesWebAssist

security assist cannot be used without a database.


you would need to hand this in order to accomplish gaining access without using a database.

it would require storing the login page values in session variables then writing an if statement on the protected page to restrict access if those session aren't equal to the user name and password yo want to allow access for.

Sign in to reply to this post

gzirfas374932

Add user group maybe?

I was afraid you were going to say that, and certainly I can do it but my clients always want to go the cheap route and that's why I love my web assist products.

What then would be the best way to use WA to handle this, WITH a database and without creating ANOTHER database to handle the situation? Add user group id and only show page to that group maybe? Would need assistance on understanding making custom access rules. I have done it before but the interface was confusing for me. Your expert help is always appreciated, and you are one of the best, thanks in advance!

G

Sign in to reply to this post

Jason ByrnesWebAssist

you would only need to create a new table in your existing database to define the one user.

singleUser:
userID - primary key
userName
userPass

any other columns you may need.

then use the security assist wizard to the create the login pages for the singleUser table.

you can use the registration page to insert the one user, then delete it if you like. for the protected page, use the logged into singleUser access rule.

Sign in to reply to this post

gzirfas374932

Vunderbar SOLVED

Thanks, this was PERRRRfect. It's all set up and the client and the webmaster (me) are very delighted. It was way too easy. Thanks for your direction, you are the bomb!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...