web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to prevent regular user from editing web resource Dynamics 365

(0) ShareShare
ReportReport
Posted on by 25

I have a security issue. Regular user can edit html web resource and by doing this can run malicious code. D365 warns the user but before that is running the portion of code. What can I do to prevent this?

pastedimage1677566979292v1.png

And the result:

pastedimage1677567024523v2.png

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: How to prevent regular user from editing web resource Dynamics 365

    Hi .Mihai Co,

    You can find these privileges in the customizations tab of security roles. Allow greens and prevent reds these are my thoughts

    pastedimage1677568471321v1.png

  • Mihai Co Profile Picture
    25 on at
    RE: How to prevent regular user from editing web resource Dynamics 365

    This is by default. User has no right to edit web resources, only read. But still, before the error message occurs, the code is running.

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at
    RE: How to prevent regular user from editing web resource Dynamics 365

    Hello Mihai,

    - You can do it by modifying the security role for that user.
    - Open the security role(which is assigned to the user) > Customization > Webresource
    - Remove the access of create/read/write so that user will npt be able to update the webresource.

    5thQ.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 110 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans