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

Notifications

Announcements

No record found.

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

    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

    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

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans