Home/Support/Support Forum/NA_HTTP_SECURITY_SINGLE_ACCESS
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

NA_HTTP_SECURITY_SINGLE_ACCESS

0 votes
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:
Code:
NAsetSysAccess (NASYSACC_ADD, "admin", "admin", NASYSACC_LEVEL_HTTP_R1 | NASYSACC_LEVEL_RW, NULL);


Define security for realm HTTP_R1
Code:
void RpHSInitSecurityTable(void *serverdata) { NAHttpSetRealmSecurity (0, "NA-HTTP AWS Realm 1", NA_HTTP_SECURITY_SINGLE_ACCESS, NA_HTTP_SECURITY_BASIC_AUTHENTICATION); }
asked Oct 30, 2013 in NET+OS by gavello New to the Community (16 points)

Please log in or register to answer this question.

...