How To Restrict Uploading Files In Salesforce

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • While working in Salesforce, we sometimes come up with the requirements where we need to build some sort of validation to restrict uploading files with specific extensions or in other words, allow only approved file types/extensions. This is very important because uploading executing or javascript code can bring potential security concerns by exposing internal data to outside world.
    So allowing only certain type of files for upload is a very common requirement. In this video, I am sharing couple of solutions with pros and cons to implement this requirement.
    #fileupload #restrictfileupload #security #ContentVersion #feed
    📌 Blog - sudipta-deb.in/2024/02/restri...
    📌 Salesforce Help - help.salesforce.com/s/article...
    ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
    00:01 - Introduction
    00:13 - Understand the potential risk
    00:50 - Understand The Places From Where We Can Upload Files
    02:30 - Solution I - Validation Rule
    04:06 - Solution II - Flow File Upload Component Configuration
    05:07 - Solution III - Trigger on ContentVersion & FeedItem object
    08:10 - Conclusion
    📌 Salesforce Winter 24 Release Playlist - bit.ly/3P0bun0
    📌 Salesforce Summer 23 Release Playlist - bit.ly/3Mw6rbx
    📌 Display Custom Error Messages for Record Triggered Flows - bit.ly/3snudQv
    📌 Salesforce Flow Playlist - bit.ly/3nIpTnT
    📌 Rollback Records in Salesforce Flow - • Rollback Records in Sa...
    📌 New Admin Features of Salesforce Summer '23 Release - • Salesforce Summer 23 R...
    📌 New Flow Features of Salesforce Summer '23 Release - • New Flow Features of S...
    📌 HTTP Post Call From Salesforce Flow - • Salesforce Summer 23 R...
    📌 Summer 23 Release | How To Add Named Credentials To Permission Set Using Principals - • How To Add Named Crede...
    📌 External Services in Flow - HTTP Callout - • External Services in F...
    📌 Salesforce Release Playlist - bit.ly/3r7F0cn
    📌 How To Secure Apex Code With User Mode Database Operations - • How To Secure Apex Cod...
    ✨ Blog: www.sudipta-deb.in/
    ✨ Subscribe for new videos on technology every week: bit.ly/3vCQKpg
    ✨Connect with me
    📌 Twitter: / thesudiptadeb
    📌 Website: www.sudipta-deb.in/
    📌 LinkedIn: / sudiptadeb
    📌 Facebook: / technicalpotpourri
    Credit: Music I Use under the Mixkit License
    Disclaimer: All opinions are my own and this video content is not endorsed by Salesforce, Google or any other company in any way.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2

  • @100gods-lq3ju
    @100gods-lq3ju 3 หลายเดือนก่อน +1

    Can you please help on how to restrict the file type in Omniscript file upload?

    • @TechnicalPotpourri
      @TechnicalPotpourri  2 หลายเดือนก่อน

      I will publish a new video soon on this topic. Please subscribe so that you will be notified with new video.