The present disclosure relates to a method and system for secure authentication of user devices based on an attribute value. The present disclosure suggests updating a new temporary attribute value when a user performs actions like locking, or shutting down a user device. Thereafter, an authenticated application or resource is accessed using the decrypted value, wherein the decrypted value is used to obtain the current HostName lock status value. If the current HostName lock status value is not the same as the predefined value in a decrypted string, access to the authenticated application resources is allowed, otherwise access is restricted. Once the user starts or restarts the device, temporary attribute lock is unlocked using a web portal or windows desktop program. Subsequently, the temporary attribute value is updated to a new attribute value.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.