Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James Gaisford 22 posts 165 karma points
    Oct 22, 2015 @ 16:24
    James Gaisford
    0

    Umbraco 7 - Do I need .aspx files?

    Hi all,

    We have deployed the source of our Umbraco project to a client who have run a security scan against the files.

    The scan has flagged the issue of missing files, for example ~/umbraco/Actions/delete.aspx includes the following

    CodeBehind="delete.aspx.cs"
    

    The client has identified around 100 other files with the same problem - all of which sit in the ~/umbraco folder. I understand that this file won't exist as the code has been compiled in to a dll, but my question is, can I safely delete these files, or are they integral to Umbraco's operation still?

    If they are required for Umbraco to work, can I safely remove the Codebehind attribute from all these files to get past the client's security scan?

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Oct 26, 2015 @ 09:06
    Jeavon Leopold
    100

    Hi James,

    Yes the files are required and no you cannot remove the Codebehind attribute.

    I would recommend you question the validity of the report...?

    Jeavon

  • James Gaisford 22 posts 165 karma points
    Nov 03, 2015 @ 11:38
    James Gaisford
    0

    Hi Jeavon,

    Many thanks for the reply. That was my suspicion. There are definitely some 'unique' source code verification tools being used.

    Cheers, James.

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Nov 03, 2015 @ 12:43
    Jeavon Leopold
    0

    Hi James,

    Glad you got to the source of it!

    Jeavon

Please Sign in or register to post replies

Write your reply to:

Draft