Skip to main content

HTTP error 401Invalid Security TokenThe requested URL does not contain your session’s correct security token

Comments

6 comments

  • cPanelLauren
    How are you accessing the URL for cPanel? IP address or Domain name? Are you using an older link with a potentially invalid cpsession token added?
    0
  • droplesoftech
    i access it by domain name, and it works but when i want to perform certain actions or when editing some files then i get that error.
    0
  • cPanelLauren
    Are you using anything like CloudFlare for the domain? If you have access to WHM you may also want to check your settings for Cookie Ip Validation in Tweak Settings (default is strict) [QUOTE] Cookie IP validation Validate the IP addresses used in all cookie-based logins. This will limit the ability of attackers who capture cPanel session cookies to use them in an exploit of the cPanel or WebHost Manager interfaces. For this setting to have maximum effectiveness, proxydomains should also be disabled. Strict validation requires the current IP address and the cookie IP address to exactly match. Loose validation only requires they are in the same /24.
    as well as the Referrer/Blank Referrer Safety Check options: [QUOTE]
    Blank referrer safety check Only permit cpanel/whm/webmail to execute functions when the browser provides a referrer. This will help prevent XSRF attacks but may break integration with other systems, login applications, and billing software. Cookies are required with this option enabled.
    Referrer safety check Only permit cpanel/whm/webmail to execute functions when the browser provided referrer (Domain/IP and Port) exactly matches the destination URL. This will help prevent XSRF attacks but may break integration with other systems, login applications, and billing software. Cookies are required with this option enabled.

    0
  • droplesoftech
    nope, am not using any CloudFlare for the domain. the system is on cloudlinux. this wasnt an issue about a moth ago and i have not also made any changes to the system, and i do have have access to whm.
    0
  • droplesoftech
    the issue is all files are editable and can view them except .htacces and wp_config only these two files are giving me issuess
    0
  • cPanelLauren
    I'd say if you're still experiencing this issue you open a ticket. Those two files would have different permissions than the rest but should not cause the issues you're seeing.
    0

Please sign in to leave a comment.