# Setting a single username &password to control access to my application

**URL:** <https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331>\
**Category:** Need help\
**Created:** [May 31, 2016, 5:38pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331 "2016-05-31T17:38:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![graeme.walker](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@graeme.walker](https://forum.bubble.io/u/graeme.walker)\
**Post date:** [May 31, 2016, 5:38pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/1 "2016-05-31T17:38:48Z")

</div>

Hello,

I’m new to Bubble and I’m finding it tricky to set a single username/password for my application without having to provide a facility to sign-up first.

I want to be the only one able to create a user account to my application to control who can view the contents of a database.

I’m positive there’s a simple solution to this problem, but I’m having difficulty finding it!

Hope there’s someone that can help!?

Thanks, Graeme

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [May 31, 2016, 5:43pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/2 "2016-05-31T17:43:55Z")

</div>

Have a look at this example

> [@Creating an account for someone else](http://forum.bubble.io/t/creating-an-account-for-someone-else/3077):
>
> In the documentation it says " Password Define here the passworod for the user you’re creating. You can hardcode something or use an input." But this is not an option in the workflow: Any ideas what to do here?

---

<div class="post-metadata">

**Author:** ![graeme.walker](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@graeme.walker](https://forum.bubble.io/u/graeme.walker)\
**Post date:** [May 31, 2016, 5:54pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/3 "2016-05-31T17:54:42Z")

</div>

Hi Raymond,

Thanks for such a quick reply. Reading through the example, it looks as though I would need to create a workflow to assign a temporary password in the first instance? I was hoping that I might be able to access the ‘user’ table and amend/set the ‘password’ data field manually in the back-end…do you know if this is possible?

Thanks, Graeme

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [May 31, 2016, 5:59pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/4 "2016-05-31T17:59:51Z")

</div>

Pleasure Graeme.

Yes you will have to create a workflow. Unfortunately we can’t set the user password by creating an account for somebody else. The alternative is to do the normal sign user up workflow. It will allow you set a password but it will also automatically sign you in after creating the user.

If you want to go this way you can build a workflow that will create an account \> then sign the user out.  
Why do you want to set the password?

---

<div class="post-metadata">

**Author:** ![graeme.walker](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@graeme.walker](https://forum.bubble.io/u/graeme.walker)\
**Post date:** [May 31, 2016, 6:10pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/5 "2016-05-31T18:10:16Z")

</div>

I am trying to create one single username/password so that the application which I develop (a contact management database) can be used by one small local business. I don’t want anyone visiting the application to be able to sign-up and have access to their application and data if that makes sense?

I’m probably going about this entirely the wrong way, but I’d love to be able to figure out some kind of workaround because I really like the simplicity of using bubble to create a responsive, cloud-based database application.

🙂

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [May 31, 2016, 6:17pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/6 "2016-05-31T18:17:50Z")

</div>

You can create an admin page that will allow access only to a person that has admin rights (create a yes/no field in db). On the admin page the user for the company can then create an account for somebody else.

---

<div class="post-metadata">

**Author:** ![graeme.walker](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@graeme.walker](https://forum.bubble.io/u/graeme.walker)\
**Post date:** [May 31, 2016, 6:26pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/7 "2016-05-31T18:26:35Z")

</div>

Looks like I’m not the only one…[Creating admin acces in Live Mode](http://forum.bubble.io/t/creating-admin-acces-in-live-mode/111)

Thanks for your help Raymond.

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [May 31, 2016, 6:27pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/8 "2016-05-31T18:27:21Z")

</div>

Pleasure. We all have to learn & that’s what the forum is for.

---

<div class="post-metadata">

**Author:** ![graeme.walker](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@graeme.walker](https://forum.bubble.io/u/graeme.walker)\
**Post date:** [May 31, 2016, 6:37pm UTC](https://forum.bubble.io/t/setting-a-single-username-password-to-control-access-to-my-application/3331/9 "2016-05-31T18:37:05Z")

</div>

Just seen this… exactly what I was looking for!

> [@\[New Feature\] Password protection for your app](http://forum.bubble.io/t/new-feature-password-protection-for-your-app/3026):
>
> We just added something that people have been asking for for a long time. You can now restrict access to your application with a username and a password (which are independent from the concept of a user for your app). If you go to settings, general, you can check the box “Limit access to this app with a username and password” and pick a user name and a password that you’ll have to share with people you want to be able to access the app. [image] This feature is available on the Personal plan an…
