1. A method for controlling access to a secure resource of an enterprise server, the method comprising: mining, by a computer system, data comprising social media history information, demographic information, and psychometric information with respect to a user having access to the secure resource; receiving, by a resource security proxy of the computer system from a user computing device, a user request for accessing the secure resource, wherein the resource security proxy serves as an intermediary between the user computing device and the secure resource; generating, by the computer system, a security profile for association with the user, wherein the security profile comprises the mined data, and wherein the security profile is generated by applying natural language processing, sentiment analyses, user behavioral analytics, and machine learning to the mined data; identifying, by the computer system, a potential security risk based on the mined data, wherein the potential security risk meets a predefined security criteria with respect to the secure resource; generating, by the computer system, security risk level information in relation to the user with respect to the secure resource, the security risk level information generated based on the identified data, wherein the generated security risk level information is added to the security profile; determining, by the computer system, a security risk level score with respect to the user based on the generated security risk level information, wherein the security risk level score is determined based on: content of a social media posting by the user, an emotional state of the user, a change to the demographic information of the user, and an action by the user in violation of an established security procedure, wherein the emotional state of the user is determined based on psychometric information stored on the enterprise server, wherein the psychometric information comprises standardized psychometric test results associated with the user and psychometric measurements of an attitude and personality trait of the user; in response to determining, by the computer system, that the determined security risk level score meets one or more predetermined threshold values, setting a level of access to the secure resource by the user computing device based on the one or more predetermined threshold values that are met; and granting, by the resource security proxy of the computer system in accordance with the set level of access, access to the secure resource by the user associated with the received request.