# Login for a specific area on a webpage

**URL:** <https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360>\
**Category:** RapidWeaver Classic\
**Created:** [May 25, 2018, 6:09am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360 "2018-05-25T06:09:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 6:09am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/1 "2018-05-25T06:09:26Z")

</div>

Hi everybody !

What I’d like to do is to create a specific area in a existing webpage, locked by an user/password.

I mean that ; when you are on a webpage, if you know the passwords, you can unlock a specific area : you type your username/password, it just open a new space (with specific informations) in the same page ; it does not open a new page.

Is there a stack that could do that ?

Thanks 😉

---

<div class="post-metadata">

**Author:** ![NeilUK](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/neiluk/32/23434_2.png) [@NeilUK](https://forums.realmacsoftware.com/u/NeilUK)\
**Post date:** [May 25, 2018, 6:27am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/2 "2018-05-25T06:27:01Z")

</div>

The only way I can think of achieving what you’re looking for is [Sitelok](https://www.vibralogix.com/sitelokpw/), but it’s probably overkill in your situation.

Sitelok will allow you to show different content to logged in users on the same page. Users would need to become a “member” which you could offer for free, or paid if needed.

There are also some [stacks](https://joeworkman.net/rapidweaver/stacks/sitelok/) that make it easier to manage Sitelok in RW.

There are other options, but as far as I know, they will only work for locking the whole page.

---

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 6:33am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/3 "2018-05-25T06:33:13Z")

</div>

Hi Neil and thank you for your answer.  
Yes ; I’ve read about Sitelock in the past and I think this is too complicated and I’m not even sure that it could do what I’m trying to 😉

---

<div class="post-metadata">

**Author:** ![NeilUK](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/neiluk/32/23434_2.png) [@NeilUK](https://forums.realmacsoftware.com/u/NeilUK)\
**Post date:** [May 25, 2018, 6:43am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/4 "2018-05-25T06:43:38Z")

</div>

I’ve used Sitelok a lot for hiding/showing different things on different pages. One example would be if you had 10 images on a page, but you only wanted 5 of them visible to all users, but all 10 visible to logged in users. Under the 5th image would be a log in form. So when a user logs in, the other 5 images become visible to that user.

It’s an amazing bit of software, but it could be more than needed in your case.

---

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 7:03am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/5 "2018-05-25T07:03:25Z")

</div>

OK ; this description seems to match with my needs : I’ll take a deep look at that if no other simple solution pops up !

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [May 25, 2018, 11:58am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/6 "2018-05-25T11:58:53Z")

</div>

Sitelok is probably your best option.

It all depends on how important individual passwords are. For instance, something that could be useful is this:  
[https://stacks4stacks.com/querydisplay/](https://stacks4stacks.com/querydisplay/)

… but only if you don’t need individual passwords. I’d suggest exploring some of the other stacks at Stacks4stacks. Will may have something else that comes even closer. Or email Will directly. @willwood

---

<div class="post-metadata">

**Author:** ![zeebe](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/zeebe/32/22007_2.png) [@zeebe](https://forums.realmacsoftware.com/u/zeebe)\
**Post date:** [May 25, 2018, 12:21pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/7 "2018-05-25T12:21:01Z")

</div>

Hello Nicolas,  
So are you wanting something like this??  
[http://www.zeebedesigns.com/login-area](http://www.zeebedesigns.com/login-area)

The password to get in is Solo

Please understand this is a very BASIC setup, you could do much more than what I have. I am using Page Safe stack by Joe Workman along with the included Stack Safe stack.

---

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 12:53pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/8 "2018-05-25T12:53:11Z")

</div>

OK !!!  
Mathew : not sure querydispaly could help me right now, but it’s an interesting stack that I’ll keep in mind ! Thanks !

Robert : yes, this is very close !! I just watched the video : I’ll have to figure out how to use it on a simple area but ; as you did so, it shouldn’t be a problem ! So thank you too 😉

---

<div class="post-metadata">

**Author:** ![zeebe](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/zeebe/32/22007_2.png) [@zeebe](https://forums.realmacsoftware.com/u/zeebe)\
**Post date:** [May 25, 2018, 1:11pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/9 "2018-05-25T13:11:23Z")

</div>

Let me know if you want that project file. It is made with Foundation but I can easily change that to the Reason theme that comes with RapidWeaver 6 & 7.

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [May 25, 2018, 1:40pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/10 "2018-05-25T13:40:57Z")

</div>

Yep, PageSafe is perfect for what you want. I’d forgotten about this feature of it. The Page Safe main stack, combined with the Stack Safe stack, is an easy perfect solution.

… the one caveat is it is one password. Do you really need individual passwords for what you are doing?

@zeebe: is there a way to add a few different passwords to the same page?

---

<div class="post-metadata">

**Author:** ![zeebe](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/zeebe/32/22007_2.png) [@zeebe](https://forums.realmacsoftware.com/u/zeebe)\
**Post date:** [May 25, 2018, 1:44pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/11 "2018-05-25T13:44:30Z")

</div>

Yup, when entering passwords into the Page Safe settings, hold down option and hit return to go to the next line (this is from the ToolTips of the stack)  
 ![27%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/8/81ffe21ecea7b74e902bcaca98e682b577fa613f.png)

The list of passwords will look like this:  
 ![14%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/2/239a51fb56b7ab512589a16add2c568b825c3d42.png)

So if you try the Page Safe demo above, it now can use ANY of those passwords

---

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 2:01pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/12 "2018-05-25T14:01:19Z")

</div>

Mat ; yes, i do need individual passwords here.

Rob : yes sure ! Can you di that without my email address or do I have to put it here ?

---

<div class="post-metadata">

**Author:** ![NeilUK](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/neiluk/32/23434_2.png) [@NeilUK](https://forums.realmacsoftware.com/u/NeilUK)\
**Post date:** [May 25, 2018, 2:03pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/13 "2018-05-25T14:03:25Z")

</div>

Very handy. I didn’t realise PageSafe was so robust.

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [May 25, 2018, 2:08pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/14 "2018-05-25T14:08:32Z")

</div>

Nice!

… and more letters for 20 characters

---

<div class="post-metadata">

**Author:** ![zeebe](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/zeebe/32/22007_2.png) [@zeebe](https://forums.realmacsoftware.com/u/zeebe)\
**Post date:** [May 25, 2018, 2:38pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/15 "2018-05-25T14:38:33Z")

</div>

@luzule I can actually attach it here in the forums. I have decided to convert the project over to the Reason theme so anyone who see’s it here can download it and try it out. You will need the Page Safe stacks for it to work though. Here is the link:

> **[login-area.zip](https://d.pr/f/P6hqkI)**
>
> Shared with Droplr

---

<div class="post-metadata">

**Author:** ![luzule](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/luzule/32/1071_2.png) [@luzule](https://forums.realmacsoftware.com/u/luzule)\
**Post date:** [May 25, 2018, 2:43pm UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/16 "2018-05-25T14:43:19Z")

</div>

Got it ! Thank you 😉

---

<div class="post-metadata">

**Author:** ![bradf1405](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bradf1405/32/9037_2.png) [@bradf1405](https://forums.realmacsoftware.com/u/bradf1405)\
**Post date:** [June 2, 2018, 8:44am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/17 "2018-06-02T08:44:26Z")

</div>

**You can do it for FREE !!!**  
Google .HTACCESS password protect  
You can set up several users if you like and revoke anyone at anytime.  
Its very simple to deploy…  
Brad Francis

---

<div class="post-metadata">

**Author:** ![juebai](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/juebai/32/2332_2.png) [@juebai](https://forums.realmacsoftware.com/u/juebai)\
**Post date:** [June 2, 2018, 9:59am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/18 "2018-06-02T09:59:16Z")

</div>

Hi Brad 😀, can you just give some examples on how to do that?

---

<div class="post-metadata">

**Author:** ![bradf1405](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bradf1405/32/9037_2.png) [@bradf1405](https://forums.realmacsoftware.com/u/bradf1405)\
**Post date:** [June 4, 2018, 4:38am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/19 "2018-06-04T04:38:16Z")

</div>

Hi,  
All you need is to create two files and ftp them to your web server.  
.htaccess & .htpassword

If you goto this webpage it will create these two files for you painlessly.  
[https://www.htaccesstools.com/htaccess-authentication/](https://www.htaccesstools.com/htaccess-authentication/)

Follow the easy instructions and you will be able to create a very secured User/Password system on any folder/sub directory of your web server you wish. Its very easy!

If you have any problems - I could assist you by creating this two files for you and emailing them to you with instructions where to upload these two files.

My email is info@bradfrancis.info  
Brad Francis

---

<div class="post-metadata">

**Author:** ![juebai](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/juebai/32/2332_2.png) [@juebai](https://forums.realmacsoftware.com/u/juebai)\
**Post date:** [June 4, 2018, 11:39am UTC](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360/20 "2018-06-04T11:39:30Z")

</div>

Thank you very much for this explanation and your kind offer. I’ll try this in the near future. Good guy 🕶

[Next page](https://forums.realmacsoftware.com/t/login-for-a-specific-area-on-a-webpage/20360.md?page=2)
