Posts

Showing posts from April, 2019

Sitecore Media Library

Image
Sitecore Media Library Disabling the Upload Watcher The Recommended practice is that you disable Upload Watcher and which ensures that the only way to upload files is from Media Library. This ensures that you can only upload files from within the Sitecore client and have control over the files that are uploaded . When Upload Watcher is disabled , files that are placed in the /upload folder in the website root are not automatically uploaded to the Media Library To disable the Upload Watcher , remove the following highlighted line from the <modules > section of the Web.config file https://xchangesitecore.com/sitecore-media-library-2/ Vikash Raaj

Sitecore Media Library

Image
Sitecore Media Library Controlling File Upload and Deny Execute Permissions on the Upload Folder You can strengthen the sitecore installation by restricting the access to the files that are begin uploaded by users. If you allow users to modify the content of /upload in website root folder then you also give them permission to place the scripts and executable programs. Executing these scripts and programs can cause an unexpected behavior on the server. You must therefore prevent an uploaded file from being executed on the server side when a user attempts to download it. We recommend that you deny permissions to run scripts and executable files in the /upload folder Note: You only need to perform this step if your configuration allows content authors to place files directly to the /upload folder. For example, if you use a shared directory or FTP server, content authors can quickly place a lot of media in the media library. Denying Execute Permission in IIS yo

Sitecore Media Library

Image
Sitecore Media Library Controlling File Upload and Deny Execute Permissions on the Upload Folder You can strengthen the sitecore installation by restricting the access to the files that are begin uploaded by users. If you allow users to modify the content of /upload in website root folder then you also give them permission to place the scripts and executable programs. Executing these scripts and programs can cause an unexpected behavior on the server. You must therefore prevent an uploaded file from being executed on the server side when a user attempts to download it. We recommend that you deny permissions to run scripts and executable files in the /upload folder Note: You only need to perform this step if your configuration allows content authors to place files directly to the /upload folder. For example, if you use a shared directory or FTP server, content authors can quickly place a lot of media in the media library. Denying Execute Permission in IIS yo

Sitecore Media Library

Image
Sitecore Media Library Disabling the Upload Watcher The Recommended practice is that you disable Upload Watcher and which ensures that the only way to upload files is from Media Library. This ensures that you can only upload files from within the Sitecore client and have control over the files that are uploaded . When Upload Watcher is disabled , files that are placed in the /upload folder in the website root are not automatically uploaded to the Media Library To disable the Upload Watcher , remove the following highlighted line from the <modules > section of the Web.config file https://xchangesitecore.com/sitecore-media-library-2/ Vikash Raaj

Sitecore Media Library

Image
Sitecore Media Library Controlling File Upload and Deny Execute Permissions on the Upload Folder You can strengthen the sitecore installation by restricting the access to the files that are begin uploaded by users. If you allow users to modify the content of /upload in website root folder then you also give them permission to place the scripts and executable programs. Executing these scripts and programs can cause an unexpected behavior on the server. You must therefore prevent an uploaded file from being executed on the server side when a user attempts to download it. We recommend that you deny permissions to run scripts and executable files in the /upload folder Note: You only need to perform this step if your configuration allows content authors to place files directly to the /upload folder. For example, if you use a shared directory or FTP server, content authors can quickly place a lot of media in the media library. Denying Execute Permission in IIS yo

Why Dynamic File Package

Image
Why Dynamic File Package This is very useful to create a package of the physical files such as config, dll, views, css, js files that are placed on a server and move the same to next environment or different instance. Open Package Designer window and click on files dynamically as title image. Now select the folder as base folder path from which we need to filter the physical files. If we need to filter at overall website path, then select the Base Folder and click next. Click Next, then we can see the below options to apply filter. Filters to be used File name Filter : This is used to Filter the files based on name wildcard search. Example loginview. Ignore Filter for Directory entries is to disable filter on directories to be applied and we need to apply only for file. Created by filter : this is to filter based on file created date. Within the Past Days : this is to apply last n days option. Example 10 means items modified on last

Why Dynamic Item Package

Image
Why Dynamic Item Package 1.    Dynamic Item Package This is very useful on live environment where the changes are done in lower environment and we try to push those change to different environment. Mostly we used to create package on items manually by having a list of changes and then we select each item manually. Anytime did we think of any shortcut in Sitecore? We have an option which Sitecore has provided. Steps to perform Open Package Designer window and click on items dynamically as shown in below image. Select the parent path on which we need to get all the changes that we want to create a package. Below screenshot we are taking an example from SXA Folder. 3. On click of next you get a new popup window asking for multiple filter criteria. You can apply multiple filters as per the need. Various Filter Item name filter : this is to filter all matching item name with a combination of Simple, Regular expression or wildcard search. Creation D