# NA\_HTTP\_SECURITY\_SINGLE\_ACCESS

**URL:** <https://forums.digi.com/t/na-http-security-single-access/12117>\
**Category:** NET+OS\
**Tags:** allegro, 90210\
**Created:** [October 30, 2013, 6:48am UTC](https://forums.digi.com/t/na-http-security-single-access/12117 "2013-10-30T06:48:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavello](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@gavello](https://forums.digi.com/u/gavello)\
**Post date:** [October 30, 2013, 6:48am UTC](https://forums.digi.com/t/na-http-security-single-access/12117/1 "2013-10-30T06:48:42Z")

</div>

I’m trying to configure an admin account where only 1 client can access at the same time.

If two users each access the same control page at the same time can cause problems

Advanced Web Server  
Toolkit describe a concept called realm locking but i’m not sure if i’m implementing it correctly… actually i’m sure that as i’m doing it’s not working ;).

Account creation:

```auto
NAsetSysAccess (NASYSACC_ADD, "admin", "admin", NASYSACC_LEVEL_HTTP_R1 | NASYSACC_LEVEL_RW, NULL);

```

Define security for realm HTTP\_R1

```auto

void RpHSInitSecurityTable(void *serverdata)
{
	NAHttpSetRealmSecurity (0, "NA-HTTP AWS Realm 1", NA_HTTP_SECURITY_SINGLE_ACCESS, NA_HTTP_SECURITY_BASIC_AUTHENTICATION);
}

```
