Skip to main content
ChacMAX
Known Participant
July 9, 2022
Answered

Is it possible to prevent concurrent logins in a Dreamweaver Site

  • July 9, 2022
  • 2 replies
  • 915 views

Hi, I couldn't find anywhere on the community about this issue, Is it possible to prevent concurrent logins in a Dreamweaver Site?

 

I'm trying to create a Restricted Page in Dreamweaver however I wanted to check whether it's possible if for example one user was to log in to the restricted page using the login that person payed for, another user cannot use it at the same time

    This topic has been closed for replies.
    Correct answer B i r n o u

    In fact, the problem of protecting a connection, whatever it is, will born from the operating flows that your users will have...
    If your usability constraint is strong, let's say that only one user can connect simultaneously with the same login, well with the many solutions that exist out there and that are based on a token, there will always be a potential usability, or constraint, problem...

     

    Let me explain...

     

    Case 1 : Bob can connect the system the morning, and Rita will connect the afternnon , both using the same Login... and this will not prevent them from using the same login… so the same login is used by two users.

    Well, somes'll say, hey why not filtering connexion by IP address... but doing this,  that do mean that Bob wont be able to use the system from his office, then later on from his home...

     

    Case 2 : let's say Bob logs in from his desktop... the system automatically creates a token and thus no one can log in with that login... perfect... that's also the goal...

    now let's say that Bob is still logged in, and he forgets to log out explicitly, he leaves his desk, comes to the meeting room with his laptop and tries to log in to the service... and there, the token being active, he can't...

     

    those case are a simple use cases, but there are many others suituation that could lead to a block.


    A few years ago, we had to work for a hospital with a subscription-based online tool that allowed as many user licenses as needed, with the same constraint of only one user per login, and in a single session...
    There was an additional layer of locking, namely that the system had to be able to limit the number of simultaneous global users. This was to prevent users from all logging in, and staying logged in continuously.
    However, some users was allowed and could still override this restriction and use the system continuously...


    I know... you're right, why make it simple when one can make it complicated... but it was anyway, as often,  a justified request, and there are many such cases as it...


    Anyway, all that to say, it's quite manageable using HTTP, with sessions, and with some flow logics. On the other hand, it requires a minimum of coding skills, at the JS, REST and DDB (or JSON DB) level.


    To answer your question, there is no turnkey solution, one size fits all (will says FZ). Any protection will meet a need, a flow, an expectation that is not necessarily generic, and that you will have to code somehow. Anyway, anyone here, can still assist you , whatever way you will choose.

     

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    July 9, 2022

    No such thing as a "Dreamweaver Site."  Dreamweaver is not a platform, it's merely a code editor much like any other. 

     

    By the sound of it, you have a member's only site you want to protect.  The question is which programming approach are you using to build the site?   HTML alone cannot do this.

     

    What you want can be done simply enough with server-side programming and a database of paid user IDs, passwords and active sessions.  However your hosting plan must support those technologies. And you need coding skills -- either your own or someone who works for you.

     

    Example:

     

    Nancy O'Shea— Product User & Community Expert
    ChacMAX
    ChacMAXAuthor
    Known Participant
    July 12, 2022

    Thanks for your help, I will take a look

    BenPleysier
    Community Expert
    Community Expert
    July 12, 2022

    Have a look at how easy this is for non-coders:

    https://www.youtube.com/watch?v=3Xrg4EUMRIQ

     

    Using the right tools is a must.

    From a Collingwood supporter located Mt Eliza VIC.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    B i r n o u
    Legend
    July 9, 2022

    I imagine that when you mention DW, it is as a code editor... so you want the HTTP accessible pages of the online website to be accessible only by a single user with a password... and not the pages accessible by FTP during development.
    whatever the case, yes it is possible. it is not very complicated.


    What are your code skills?

    ChacMAX
    ChacMAXAuthor
    Known Participant
    July 12, 2022

    Is this not a website builder? I don't do coding and only know simple HTML