Re: Access Denied for %windir%/TEMP

  •  09-08-2005, 5:36 PM

    Re: Access Denied for %windir%/TEMP

    I added the CuteSoft_Client\bin\CuteEditor.dll to the GAC
    then I set the security to "Low Trust"
    then I modifed CuteSoft_Client\CuteEditor\Web.config to:
    <configuration>
     <system.web>
      <authorization>
       <allow users="*" />
      </authorization>
      <httpHandlers>
       <add path="*.jpeg" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.jpg" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.gif" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.png" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.jpeg.aspx" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.jpg.aspx" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.gif.aspx" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
       <add path="*.png.aspx" verb="GET" type="CuteEditor.Impl.EditorImageFileHandler,cuteeditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null" />
      </httpHandlers>
     </system.web>
    </configuration>

    Then I modified CuteSoft_Client\CuteEditor\Dialogs\Web.config to:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <system.web>
            <compilation defaultLanguage="c#">
                <assemblies>
                    <add assembly="CuteEditor, Version=4.5.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null"/>
                </assemblies>
            </compilation>
            <pages autoEventWireup='false' />
        </system.web>
    </configuration>

    And now it works...

    Should I have the heebeegeebies about putting this into a production environment?

View Complete Thread