Dotnetnuke skinning whitepaper translation record (skin upload part)

Source: Internet
Author: User
Tags dotnetnuke

Skin upload

 

Once Ascx Executable skin in file format is added Aspx Some malicious scripts in some skin files may harm the entire system. Based on this consideration, the host has the skin upload authorization function for the host or website. Use Host Log on to the account and select host settings in the host column. You can see this option. If this option is set Portal (Default), the website administrator can upload the skin of the website without the interference of the host.

All File Upload functions are concentrated inDotnetnukeUnder website management or host management. Upload skin in file management under website management, this skin applies only to this site, and if you upload skin under host management, it applies to all sites on this host. The file manager has an upload option. If this option is selected, the file upload interface for uploading skin and container packages appears. Select the appropriate File Usage option (ApplicationProgramUse this to differentiate the usage of the compressed package ). Note: This option cannot appear if the upload authorization is not obtained. :(

 

 

The skin upload mechanism automatically decompress the skin package, create necessary folders, and release files. ASP. NET Script Html Replace the placeholder in the file Html Convert files Ascx The purpose of the user control. This conversion is performed according to the database Modulecontrols The definition of skin objects in the table. Ascx User Control Files and CSS Style Sheet files are still associated with graphical files in relative paths. Note: If the uploaded skin package contains both skin and container (Containers.zip and skins.zip) Select the skin package option.

 
Skin upload

 

Since skins are based on ascx files which are essential executable once they are added to An ASPX page, there is some risk that malicious script cocould be inserted into the skin files-putting your entire installation in danger. for this reason, the host has the ability to grant skin upload permission to either the host or portal. the option is available when you login as the host user and select the host settings option from the host tab. if the option is set to host then only the host user is able to upload skins to the site. if the option is set to portal (default), then the administrator of the portal is able to upload their own skins without host intervention.

 

The upload of files has been centralized in dotnetnuke to the File Manager tab on the admin or host menu. to upload skins to a specific portal, you must browse to the portal's URL, login, and then use the File Manager option in the admin tab. to upload skins which are available to all portals, the host shocould use the File Manager option in the host tab. the file manager has an option to upload new file (s ). selecting this option displays the file upload interface which allows you to upload your skin and container packages. select the appropriate option from the upload file type options prior to uploading a package (the application must be able to distinguish between the various ZIP file packages ). please note that depending on the skin upload permission defined above, some of the options may not be available to you.

 

 

The skin upload will unzip the skin package; creating the necessary folder and decompress the files. it will convert any HTML files to their ascx user control equivalent by replacing the placeholder tokens with the actual ASP. net script. this replacement is done according to the skin objects defined in the modulecontrols database table. ascx user control files and CSS style sheet files will also be parsed to include the relative path references for graphics files. please note that if you are installing a skin package which contains both skins and containers (containers.zip and skins.zip) Then you shoshould choose the skin package option above.

dotnetnuke skinning whitepaper translation record:
dotnetnuke skinning whitepaper translation record (Introduction)
dotnetnuke skinwhitning epaper translation record (term and win Client Program)
dotnetnuke skinning whitepaper translation record (technical part)
dotnetnuke skinning whitepaper translation record (definition part-big Cook translation)
dotnetnuke skinning whitepaper translation record)
dotnetnuke skinning whitepaper translation record (general)
dotnetnuke skinning whitepaper translation record (Major chef translation)
dotnetnuke skinning whitepaper translation record (page processing part)
dotnetnuke skinning whitepaper translation record (skin pack part)
dotnetnuke skinning whitepaper translation record (skin definition part)
dotnetnuke skinning whitepaper translation record (skin creation part) (translated by Chef ...)
dotnetnuke skinning whitepaper translation record (container creation part)
dotnetnuke skinning whitepaper translation record (skin upload part)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.